export const columns = [
  {
    name: 'id',
    label: '商品编号',
    search: true,
    //valueType: 'input',
    span: 8,
    /* attrs: {
      placeholder: '请输入',
    }, */
  },
  {
    name: 'gname',
    label: '商品名称',
    search: true,
    valueType: 'input',
    span: 8,
    attrs: {
      placeholder: '请输入',
    },
  },
  {
    name: 'goprice',
    label: '商品原价',
    search: true,
    //valueType: 'input',
    span: 8,
  },
  {
    name: 'grprice',
    label: '商品折后价格',
    sorter: true,
    search: true,
    //valueType: 'input',
    span: 8,
    /* attrs: {
      placeholder: '请输入',
    }, */
  },
  {
    name:'gstore',
    label:'商品库存',
    search: true,
    span:8,
  },

  {
    name: 'operation',
    slot: true,
    fixed: 'right',
    label: '操作',
    width: 200,
  },
]
